for i in range(9):
    for j in range(i + 1):
        print("%dx%d=%d" % (j+1, i+1, (j+1)*(i+1)),end=" ")
    print()